package com.dji.custom.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 航线拓展对象 expand_wayline_file
 *
 * @author ruoyi
 * @date 2023-10-31
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("expand_wayline_file")
public class ExpandWaylineFileEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private String id;

    /** uuid */
    @TableField(value = "wayline_id")
    private String waylineId;

    /** 航程(km) */
    @TableField(value = "distance")
    private BigDecimal distance;

    /** 航线高度(m) */
    @TableField(value = "height")
    private BigDecimal height;

    /** 速度(m/s) */
    @TableField(value = "speed")
    private BigDecimal speed;

    /** 航线文件url */
    @TableField(value = "wayline_url")
    private String waylineUrl;

    /** 航线节点详情 */
    @TableField(value = "wayline_detail")
    private String waylineDetail;


    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Long createTime;

    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Long updateTime;

}
